﻿@model MvcAtletIS.Models.Statistics

@{
    ViewBag.Title = "Zobraziť záznam";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
}

<h2>Zobraziť záznam</h2>

<fieldset>
    <legend>Detaily</legend>

    <div class="display-label">Pretekár</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Competitors.FullName)
    </div>

    <div class="display-label">Disciplína</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Disciplines.Name)
    </div>

    <div class="display-label">Preteky</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StatisticsCompetitions.City)
    </div>

    <div class="display-label">Dátum</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StatisticsCompetitions.Date)
    </div>

    <div class="display-label">Rok</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Year)
    </div>

    <div class="display-label">Výkon</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sResult)
    </div>

    <div class="display-label">Poradie</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rank)
    </div>

    <div class="display-label">Halový</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Indoor)
    </div>

    <div class="display-label">Elektronický</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Electronic)
    </div>

    <div class="display-label">Poznámka</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Note)
    </div>

</fieldset>

<p>
    @Html.ActionLink("Editovať", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Naspäť na editor štatistiky", "Index", new { Years = Model.Year, ClubId = Model.Competitors.ClubId, CompetitorId = Model.CompetitorId})
</p>
